

package DBLayer;

import ModelLayer.*;

import java.util.ArrayList;


public interface IFDBOfferMaterial {
       public ArrayList<OfferMaterial> getAllOfferMaterials();  
       
       public OfferMaterial findOfferMaterial(int materialId);
       
       public OfferMaterial findOfferMaterialById(int offerMaterialId);
       
       public int insertOfferMaterial (OfferMaterial offerMaterial) throws Exception;
       
       public int updateOfferMaterial (OfferMaterial offerMaterial);

       public int deleteOfferMaterial(int offerMaterialId);
       public int deleteOfferMaterialConnected(int offerId);

}